#pragma once
#include <vtkCommand.h>

#include "MyInteractorStyleTrackballCamera.h"

class MyInteractorStyleTrackballCameraEventObserver : public vtkCommand
{
private:
    vtkObject* m_qvtk;

public:
    static MyInteractorStyleTrackballCameraEventObserver* New() {
        return new MyInteractorStyleTrackballCameraEventObserver;
    }
    virtual void Execute(vtkObject* caller, unsigned long eventId, void* callData);

    void set_qvtk(vtkObject* qvtk) { m_qvtk = qvtk; }
    vtkObject* get_qvtk() { return m_qvtk; }
};


